package com.klw.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.klw.common.annotation.Excel;
import com.klw.common.core.domain.BaseEntity;

/**
 * 学生成绩对象 klw_scores
 * 
 * @author klw
 * @date 2025-08-24
 */
public class KlwScores extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 创建ID */
    private Long scoreId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 课程号 */
    @Excel(name = "课程号")
    private Long courseId;

    /** 学期 */
    @Excel(name = "学期")
    private Long semesterId;

    /** 平时成绩 */
    @Excel(name = "平时成绩")
    private BigDecimal usualScore;

    /** 考试成绩 */
    @Excel(name = "考试成绩")
    private BigDecimal examScore;

    /** 总成绩 */
    @Excel(name = "总成绩")
    private BigDecimal totalScore;

    /** 是否及格 */
    @Excel(name = "是否及格")
    private String isPass;

    public void setScoreId(Long scoreId) 
    {
        this.scoreId = scoreId;
    }

    public Long getScoreId() 
    {
        return scoreId;
    }

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    public void setSemesterId(Long semesterId) 
    {
        this.semesterId = semesterId;
    }

    public Long getSemesterId() 
    {
        return semesterId;
    }

    public void setUsualScore(BigDecimal usualScore) 
    {
        this.usualScore = usualScore;
    }

    public BigDecimal getUsualScore() 
    {
        return usualScore;
    }

    public void setExamScore(BigDecimal examScore) 
    {
        this.examScore = examScore;
    }

    public BigDecimal getExamScore() 
    {
        return examScore;
    }

    public void setTotalScore(BigDecimal totalScore) 
    {
        this.totalScore = totalScore;
    }

    public BigDecimal getTotalScore() 
    {
        return totalScore;
    }

    public void setIsPass(String isPass) 
    {
        this.isPass = isPass;
    }

    public String getIsPass() 
    {
        return isPass;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scoreId", getScoreId())
            .append("studentId", getStudentId())
            .append("courseId", getCourseId())
            .append("semesterId", getSemesterId())
            .append("usualScore", getUsualScore())
            .append("examScore", getExamScore())
            .append("totalScore", getTotalScore())
            .append("isPass", getIsPass())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
